package com.ssm.service.impl;

import com.ssm.dao.TeamworkDao;
import com.ssm.pojo.Teamwork;
import com.ssm.service.TeamworkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeamworkServiceImpl implements TeamworkService {

    @Autowired
    private TeamworkDao teamworkDao;

    @Override
    public List<Teamwork> getTeamwork() {
        return teamworkDao.getTeamwork();
    }
}
